import NodeDatastructure from "./node";

export default class Canvas extends NodeDatastructure {
  constructor() {
    const canvas = document.createElement('canvas');
    const ctx = canvas.getContext('2d');
    this.canvas = canvas;
    this.ctx = ctx;
  }
}